<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      gstreamer-1.16.2
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="gavl.html" title="gavl-1.4.0">Prev</a>
          <p>
            gavl-1.4.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="gst10-plugins-base.html" title=
          "gst-plugins-base-1.16.2">Next</a>
          <p>
            gst-plugins-base-1.16.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="gstreamer10" name="gstreamer10"></a>gstreamer-1.16.2
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to gstreamer
        </h2>
        <p>
          <span class="application">gstreamer</span> is a streaming media
          framework that enables applications to share a common set of
          plugins for things like video encoding and decoding, audio encoding
          and decoding, audio and video filters, audio visualisation, web
          streaming and anything else that streams in real-time or otherwise.
          This package only provides base functionality and libraries. You
          may need at least <a class="xref" href="gst10-plugins-base.html"
          title="gst-plugins-base-1.16.2">gst-plugins-base-1.16.2</a> and one
          of Good, Bad, Ugly or Libav plugins.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.16.2.tar.xz">
                https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.16.2.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 0e661ed5bdf1d8996e430228d022628e
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 3.2 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 60 MB (with tests; add 36 MB
                for docs)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.4 SBU (Using parallelism=4; with
                tests; add 1.5 SBU for docs)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          gstreamer Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../general/glib2.html" title=
          "GLib-2.64.1">GLib-2.64.1</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="../general/gobject-introspection.html" title=
          "gobject-introspection-1.64.0">gobject-introspection-1.64.0</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../x/gtk3.html" title=
          "GTK+-3.24.16">GTK+-3.24.16</a> (for examples), <a class="xref"
          href="../general/gsl.html" title="Gsl-2.6">Gsl-2.6</a>, <a class=
          "xref" href="../general/gtk-doc.html" title=
          "GTK-Doc-1.32">GTK-Doc-1.32</a>, <a class="xref" href=
          "../general/valgrind.html" title=
          "Valgrind-3.15.0">Valgrind-3.15.0</a>, and <a class="ulink" href=
          "http://www.nongnu.org/libunwind/">libunwind</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/gstreamer10">http://wiki.linuxfromscratch.org/blfs/wiki/gstreamer10</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of gstreamer
        </h2>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            If you do not have an Objective-C compiler installed, the build
            system for this package will emit a warning about a failed sanity
            check. This is harmless, and it is safe to continue.
          </p>
        </div>
        <p>
          Install <span class="application">gstreamer</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">mkdir build &amp;&amp;
cd    build &amp;&amp;

meson  --prefix=/usr       \
       -Dbuildtype=release \
       -Dgst_debug=false   \
       -Dgtk_doc=disabled  \
       -Dpackage-origin=http://www.linuxfromscratch.org/blfs/view/svn/ \
       -Dpackage-name="GStreamer 1.16.2 BLFS" &amp;&amp;
ninja</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>ninja
          test</strong></span>.
        </p>
        <div class="admon caution">
          <img alt="[Caution]" src="../images/caution.png" />
          <h3>
            Caution
          </h3>
          <p>
            If you are reinstalling <span class=
            "application">gstreamer</span> from a previous version, it is
            best if you remove the prior version, including plugins, before
            installing the new version. If there is a mixture of versions
            installed, using processes may hang or not work properly. As the
            <code class="systemitem">root</code> user:
          </p>
          <pre class="userinput">
<kbd class=
"command">rm -rf /usr/bin/gst-* /usr/{lib,libexec}/gstreamer-1.0</kbd>
</pre>
        </div>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">ninja install</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">gst-inspect-1.0, gst-launch-1.0,
              gst-stats-1.0, and gst-typefind-1.0</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libgstbase-1.0.so, libgstcheck-1.0.so,
              libgstcontroller-1.0.so, libgstnet-1.0.so, and
              libgstreamer-1.0.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/{include,lib,libexec}/gstreamer-1.0
              and
              /usr/share/gtk-doc/html/gstreamer{,-libs,-plugins}-1.0</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="gst-inspect-1.0" name=
                    "gst-inspect-1.0"></a><span class="term"><span class=
                    "command"><strong>gst-inspect-1.0</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool that prints out information on available
                    <span class="application">gstreamer</span> plugins,
                    information about a particular plugin, or information
                    about a particular element.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gst-launch-1.0" name=
                    "gst-launch-1.0"></a><span class="term"><span class=
                    "command"><strong>gst-launch-1.0</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool that builds and runs basic <span class=
                    "application">gstreamer</span> pipelines.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gst-stats-1.0" name=
                    "gst-stats-1.0"></a><span class="term"><span class=
                    "command"><strong>gst-stats-1.0</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool used to gather statistics about <span class=
                    "application">gstreamer</span> operations.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gst-typefind-1.0" name=
                    "gst-typefind-1.0"></a><span class="term"><span class=
                    "command"><strong>gst-typefind-1.0</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    uses the <span class="application">gstreamer</span> type
                    finding system to determine the relevant <span class=
                    "application">gstreamer</span> plugin to parse or decode
                    files, and the corresponding MIME type.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libgstbase-1.0" name=
                    "libgstbase-1.0"></a><span class="term"><code class=
                    "filename">libgstbase-1.0.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides some base classes to be extended by elements and
                    utillity classes that are most useful for plugin
                    developers.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libgstcheck-1.0" name=
                    "libgstcheck-1.0"></a><span class="term"><code class=
                    "filename">libgstcheck-1.0.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides functionality for writing unit tests that use
                    the check framework.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libgstcontroller-1.0" name=
                    "libgstcontroller-1.0"></a><span class=
                    "term"><code class="filename">libgstcontroller-1.0.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides functionality to animate element properties over
                    time.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libgstnet-1.0" name=
                    "libgstnet-1.0"></a><span class="term"><code class=
                    "filename">libgstnet-1.0.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides network elements and objects.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libgstreamer-1.0" name=
                    "libgstreamer-1.0"></a><span class="term"><code class=
                    "filename">libgstreamer-1.0.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides all of the core <span class=
                    "application">gstreamer</span> services, including
                    initialization, plugin management and types, as well as
                    the object hierarchy that defines elements and bins,
                    along with some more specialized elements.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-09 10:02:12 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="gavl.html" title="gavl-1.4.0">Prev</a>
          <p>
            gavl-1.4.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="gst10-plugins-base.html" title=
          "gst-plugins-base-1.16.2">Next</a>
          <p>
            gst-plugins-base-1.16.2
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
